
import {Upload} from 'antd'
import {InboxOutlined} from '@ant-design/icons'

export default function AttachUpload(){

    let onChange = (info)=>{}

    let onDrop= (e)=>{}

    const {Dragger} = Upload


    return (
        <div>
            <Dragger onChange={(info)=>onChange(info)} onDrop name='file' multiple>
                <p className="ant-upload-drag-icon">
                    <InboxOutlined />
                </p>
                <p className="ant-upload-text">Click or drag file to this area to upload</p>
                <p className="ant-upload-hint">
                    Support for a single or bulk upload. Strictly prohibited from uploading company data or other
                    banned files.
                </p>
            </Dragger>
        </div>
    )
}